<template>
    <div class="yv-group">
        <label class="yv-group-label">{{ text }}</label>
        <div class="yv-group-items">
            <slot>
            </slot>
        </div>
    </div>
</template>

<script>
export default {
    name: 'YvGroup',
    props: {
        text: {
            type: String,
            default: '默认菜单'
        },
    },
    data() {
        return {

        }
    },
}
</script>

<style scoped></style>